b6599a7e2473da840c7c1d18d764e6a892914671,src/share/classes/com/sun/btrace/agent/Main.java,Main,startServer,#,369
Before Change
try {
if (isDebug()) debugPrint("waiting for clients");
Socket sock = ss.accept();
if (isDebug()) debugPrint("client accepted " + sock);
ClientContext ctx = new ClientContext(inst, transformer, settings);
Client client = new RemoteClient(ctx, sock);
handleNewClient(client).get();
} catch (RuntimeException | IOException | ExecutionException re) {
if (isDebug()) debugPrint(re);
} catch (InterruptedException e) {
return;
}
After Change
debugPrint("waiting for clients");
}
Socket sock = ss.accept();
if (isDebug()) {
debugPrint("client accepted " + sock);
}
ClientContext ctx = new ClientContext(inst, transformer, settings);
Client client = new RemoteClient(ctx, sock);
handleNewClient(client).get();
} catch (RuntimeException | IOException | ExecutionException re) {
if (isDebug()) {
debugPrint(re);
}
} catch (InterruptedException e) {
return;